package com.study.Mapper;

import com.study.Entity.Category;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CategoryMapper {
    List<Category> getCategoryList(@Param("categoryName") String categoryName);

    List<Category> getAllCategory();

    void addCategory(Category category);

    void updateCategory(Category category);

    void deleteCategory(String categoryId);
}
